﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Activity.Model
{
    public class TimeTrackingReportModel
    {
        public class CoreModel
        {
            public string ProvinceName { get; set; }
            public string BillDate { get; set; }
            public long? ShopQty { get; set; }
            public decimal? FactAMT { get; set; }
            public long? SalePartQty { get; set; }
            public long? SaleBillPartQty { get; set; }
            public decimal? FactPartAMT { get; set; }
            public long? SaleBillQty { get; set; }
            public long? KpiQty { get; set; }
        }

        public class NeceModel : CoreModel
        {
            public string Week { get; set; }
            public decimal? UnitPrice { get; set; }
            public decimal? Closing { get; set; }
            public decimal? JointRate { get; set; }
            public decimal? NeighborhoodCom_FactAMT { get; set; }
            public decimal? NeighborhoodCom_SalePartQty { get; set; }
            public decimal? NeighborhoodCom_SaleBillPartQty { get; set; }
            public decimal? NeighborhoodCom_KpiQty { get; set; }
            public decimal? NeighborhoodCom_UnitPrice { get; set; }
            public decimal? NeighborhoodCom_Closing { get; set; }
            public decimal? NeighborhoodCom_JointRate { get; set; }
            public decimal? WeekCom_FactAMT { get; set; }
            public decimal? WeekCom_SalePartQty { get; set; }
            public decimal? WeekCom_SaleBillPartQty { get; set; }
            public decimal? WeekCom_KpiQty { get; set; }
            public decimal? WeekCom_UnitPrice { get; set; }
            public decimal? WeekCom_Closing { get; set; }
            public decimal? WeekCom_JointRate { get; set; }
        }

        public class ListModel
        {
            public string ProvinceName { get; set; }
            public IList<IGrouping<string, NeceModel>> group { get; set; }
        }
    }
}
